
import {requestInstance} from "../Request";

import Vue from 'vue';

// 登录请求
export function login(params) {

 return requestInstance.postRequest({
           url:'/login',
           data:params
      });
}

export function sendCode(params) {

    return requestInstance.postRequest({
        url:'/sendCode',
        data:params
    });
}

export function register(params) {

  return requestInstance.postRequest({
    url:'/register',
    data:params
  })
}


